<!DOCTYPE html>
<html lang="zh">

<head>
	<meta charset="UTF-8">
	<meta name="viewport" content="width=device-width, initial-scale=1.0">
	<title>欢迎</title>
	<link rel="stylesheet" href="/scriptZIP/pure-min.min.css">
	<style>
		.pure-u-1-3 {
			text-align: center;
		}

		img {
			max-width: 100%;
		}
	</style>
</head>

<body>

	<div class="pure-g" style="margin-top: 45vh">
		<div class="pure-u-1-3">
			<a href="/wechat/index.html" class="pure-button pure-button-primary">用户绑定</a>
		</div>
		<div class="pure-u-1-3">
			<a href="/wechat/student/student_center.html" class="pure-button pure-button-primary">家长中心</a>
		</div>
		<div class="pure-u-1-3">
			<a href="/wechat/teacher/teacher_center.html" class="pure-button pure-button-primary">教师中心</a>
		</div>
	</div>
	<button class="pure-button pure-button-primary" id="btn1">下载app</button>

	<script src="cordova.js"></script>

	<script>
		var url = sessionStorage.url;
		if (url) {
			sessionStorage.removeItem('url');
			location.replace(url);
		}


		document.getElementById('btn1').onclick = function () {
			util.download('https://wei.hxt5.com/app-release.apk');
		};
	</script>

</body>

</html>